package com.hdax.dao;

import com.hdax.entity.Activity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 活动表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2021-03-22
 *
 */
@Repository
public interface ActivityMapper extends BaseMapper<Activity> {

    int add(Activity activity);
    int update(Activity activity);
    int btnDel(@Param("ids")List<Integer> ids);


}
